package com.youlai.system.controller;

import com.youlai.system.common.result.Result;
import io.swagger.v3.oas.annotations.Operation;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@Slf4j
@RequestMapping("/api/v1/office")
@RequiredArgsConstructor
public class OfficeController {


    @Operation(summary = "公文编辑")
    @GetMapping
    public Result<Long> updateOffice(
           Long id
    ) {
        return Result.success(id);
    }
}
